﻿<local:PageBase x:Class="MicroBlogClient.Comments"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:MicroBlogClient"
        xmlns:controls="clr-namespace:Rabbit.Controls;assembly=Rabbit.Controls"
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="300"
	Title="Comments">
    <local:PageBase.Resources>
        <ResourceDictionary Source="/Resources/CommentTemplate.xaml"/>
    </local:PageBase.Resources>
    
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <ListBox Grid.Row="0" x:Name="lstMyCommentList"
                 ItemTemplate="{StaticResource ResourceKey=MyCommentsItemTemplate}"
                 ItemsSource="{Binding MessagesCollection}"
                 />
         <local:UCPager x:Name="pager" Grid.Row="1" OnFirstPageClick="pager_OnFirstPageClick"
                           OnPreviousePage="pager_OnPreviousePage"
                           OnNextPageClick="pager_OnNextPageClick"/>
        <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="408,130,0,0" Name="button1" VerticalAlignment="Top" Width="75" />
    </Grid>
</local:PageBase>
